package com.hl.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单商品规格管理对象 order_goods_spec
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public class OrderGoodsSpec extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单商品规格id，主键自增 */
    private Long orderGoodsSpecId;

    /** 订单id，关联订单表 */
    @Excel(name = "订单id，关联订单表")
    private Long orderId;

    /** 订单商品id，关联订单商品表 */
    @Excel(name = "订单商品id，关联订单商品表")
    private Long goodsId;

    /** 商品规格类型id，关联规格类型表 */
    @Excel(name = "商品规格类型id，关联规格类型表")
    private Long specTypesId;

    /** 规格类型名称 */
    @Excel(name = "规格类型名称")
    private String specTypesName;

    public void setOrderGoodsSpecId(Long orderGoodsSpecId) 
    {
        this.orderGoodsSpecId = orderGoodsSpecId;
    }

    public Long getOrderGoodsSpecId() 
    {
        return orderGoodsSpecId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }

    public void setSpecTypesId(Long specTypesId) 
    {
        this.specTypesId = specTypesId;
    }

    public Long getSpecTypesId() 
    {
        return specTypesId;
    }

    public void setSpecTypesName(String specTypesName) 
    {
        this.specTypesName = specTypesName;
    }

    public String getSpecTypesName() 
    {
        return specTypesName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderGoodsSpecId", getOrderGoodsSpecId())
            .append("orderId", getOrderId())
            .append("goodsId", getGoodsId())
            .append("specTypesId", getSpecTypesId())
            .append("specTypesName", getSpecTypesName())
            .toString();
    }
}
